package model

import (
	"github.com/jinzhu/gorm"
)

type FormSubmission struct {
	gorm.Model
	Name            string `gorm:"type:varchar(100)"`
	Phone           string `gorm:"type:varchar(20);not null"` // required
	Email           string `gorm:"type:varchar(100)"`
	Address         string `gorm:"type:text"`
	WhatsApp        string `gorm:"type:varchar(50)"`
	DetailedRequest string `gorm:"type:text;not null"` // required
	Company         string `gorm:"type:varchar(100)"`
	IPAddress       string `gorm:"type:varchar(50)"`
	IPLocation      string `gorm:"type:varchar(100)"`
}
